/*
** get_random_position.c for  in /home/massro_a//zappy-2011/map/random
** 
** Made by ancet massrouf
** Login   <massro_a@epitech.net>
** 
** Started on  Sat Jul  2 17:38:14 2011 ancet massrouf
** Last update Mon Jul  4 19:26:13 2011 el-hadji-malick-ndour dieng
*/
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include "map.h"

void 		get_y_random_position(int x, int y, t_player *player)
{
  player->posX = random()%x;
  player->posY = random()%y;
}
